﻿<extend name="Public:base"/>

<block name="main">
    <div class="sub_r_bot">
        <div class="sub_bot_one">
            <span class="sub_bot_bt">
                <if condition="$type eq 0">今天<elseif condition="$type eq 1" />昨天<elseif condition="$type eq 2" />前天</if>&nbsp;開獎歷史記錄
            </span>
            <span class="r">
                <a href="{:U('Home/Index/index')}" class="g_button btn_orange" target="_top">返回開獎列表>></a>
            </span>
        </div>
    </div>
    <table class="sub_table" border="0" cellpadding="0" cellspacing="0" width="100%">
        <thead>
        <tr>
            <th colspan="3"><span class="style3">開獎</span></th>

        </tr>
        <tr id="th_header">
            <th width="163" class="style3">時間
            </th>
            <th width="103" class="style3">期數
            </th>
            <th width="240" class="style3">開獎號碼
            </th>


        </tr>
        </thead>
        <tbody id="reslist" linnos="0,1,2,5">
        <foreach name="lists" item="vo" >
            <tr class="trendresult">
                <td>{:format_time($vo['create_time'])}</td>
                <td>{$vo.qishu}</td>
                <td>
                    <span><img src='__TMPL__Public/assets/images/dice_{$vo.num_1}.png' width="70px;" height="50px;"></span>
                    <span><img src='__TMPL__Public/assets/images/dice_{$vo.num_2}.png' width="70px;" height="50px;"></span>
                    <span><img src='__TMPL__Public/assets/images/dice_{$vo.num_3}.png' width="70px;" height="50px;"></span>
                    <span><img src='__TMPL__Public/assets/images/dice_{$vo.num_4}.png' width="50px;" height="50px;"></span>
                    <span><img src='__TMPL__Public/assets/images/dice_{$vo.num_5}.png' width="50px;" height="50px;"></span>
                    <span><img src='__TMPL__Public/assets/images/dice_{$vo.num_6}.png' width="50px;" height="50px;"></span>
                </td>
                <php>$data = analysis_num($vo['num_1'],$vo['num_2'],$vo['num_3'],$vo['num_4'],$vo['num_5'],$vo['num_6'])</php>

            </tr>
        </foreach>
        </tbody>
    </table>
</block>